Socket
Socket
Sign inDemoInstall

seek-bzip

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

seek-bzip

a pure-JavaScript Node.JS module for random-access decoding bzip2 data


Version published
Weekly downloads
3.1M
increased by0.02%
Maintainers
1
Weekly downloads
 
Created

What is seek-bzip?

The seek-bzip npm package is a pure-Javascript implementation of the BZIP2 decompression algorithm, which allows for random access seeking within bzip2 files. This package is particularly useful for applications that need to extract portions of large compressed files without having to decompress the entire file.

What are seek-bzip's main functionalities?

Random Access Decompression

This feature allows users to decompress a specific block of data from a bzip2 compressed file, starting at a specified byte. This is useful for extracting data from large files without the need to decompress the entire file.

const fs = require('fs');
const seekBzip = require('seek-bzip');
const compressedData = fs.readFileSync('path/to/compressed-file.bz2');
const start = 12345; // start byte for decompression
const decompressedData = seekBzip.decodeBlock(compressedData, start);

Other packages similar to seek-bzip

FAQs

Package last updated on 31 Jul 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc